﻿using BlondeHeaven.DB.Model;
using BlondeHeaven.Model.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Update.Internal;
using System;
using System.Collections.Generic;
using System.Text;

namespace BlondeHeaven.DB
{
   public class BHDbContext:DbContext
    {
        public BHDbContext(DbContextOptions<BHDbContext> options)
          : base(options)
        {

        }
        public DbSet<User> Uesrs { get; set; }
        public DbSet<Waiter>  Waiters { get; set; }
        public DbSet<ShopKeeper> ShopKeepers { get; set; }
        public DbSet<Ranking>  Rankings { get; set; }
        public DbSet<Comment> Comments { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<Commodity> Commoditys { get; set; }
    }
}
